package com.oa.dao;

import java.util.List;
import java.util.Map;

import com.oa.bean.IntegernalMail;
import com.oa.bean.Section;
import com.oa.bean.User;

public interface IntegernalMailDao {

	Integer insertMail(IntegernalMail mail);
	Integer insertReceive_Mail(Map<String,Object> map);
	
	List<User> getUserList(int deptno);
	
	List<IntegernalMail>selectMyEmail(int eid);
	
	List<IntegernalMail> selectReceiveEmail(String userName);
	
	IntegernalMail selectEmailByid(int eid);
	
	Integer updateReceiveRstate(Map<String,Object> map);
	
	Integer deleteSendMail(int[]array);
	
	Integer deleteReceiveMail(Map<String,Object> map);
	
	List<Section> selectDeptNameId();
	
}
